package com.tanhua.domain.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "recommend_voice")
public class RecommendVoice implements Serializable{
    @Id
    private ObjectId id; // 主键
    @Indexed
    private double score;
    private Long date;
    private long voiceId;//发送语音的用户id
    private String gender; //性别
}
